package View;

import javax.swing.ImageIcon;
import javax.swing.JLabel;

public class FundoView extends BO.Personagem {

	public FundoView(String file) {
		super(file);
		this.setPosX(0);
		this.setPosY(0);
	}

	public JLabel retornaFundo() {
		return new FundoViewComponent(this.getImagem());
	}

}

class FundoViewComponent extends JLabel {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public FundoViewComponent(ImageIcon image) {
		this.setIcon(image);
	}
}
